<?php

namespace App\Admin\Actions\Extensions\User;

use App\Admin\Forms\User\UserStudentCertifyForm;
use Dcat\Admin\Grid\Tools\AbstractTool;
use Dcat\Admin\Widgets\Modal;

class UserStudentCertifyButton extends AbstractTool
{

    protected $style = 'btn btn-primary';

    public function html()
    {
        return Modal::make()
            ->lg()
            ->title($title = '审核配置')
            ->body(UserStudentCertifyForm::make())
            ->button("<button class='btn btn-primary'><i class=\"fa fa-gear\"></i> &nbsp;{$title}</button> &nbsp;");
    }

}
